package wzvtc.dbad.attend.entity;

import org.springframework.data.annotation.AccessType;
import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Table;

/**
 * 课程
 */

@AccessType(AccessType.Type.FIELD)
@Table("T_COURSE")
public class Course {
    @Id
    private long id;
    private String name;

    public long getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public Course(String name) {
        this.name = name;
    }



}
